package cn.seecoder.courselearning.po.course;

import cn.seecoder.courselearning.vo.course.AssignmentVO;

public class Assignment {
    private  Integer courseId;
    private  Integer Id;
    private  String title;
    private  Integer type; // 0 :选择题 1:填空题
    private String answer;
    private String AOption;
    private  String BOption;
    private String COption;
    private  String DOption;
    private String analyis;
    private Integer score;

    public Assignment(AssignmentVO assignmentVO) {
        this.courseId=assignmentVO.getCourseId();
        this.Id=assignmentVO.getId();
        this.title=assignmentVO.getTitle();
        type=assignmentVO.getType();
        answer=assignmentVO.getAnswer();
        AOption=assignmentVO.getAOption();
        BOption=assignmentVO.getBOption();
        COption=assignmentVO.getCOption();
        DOption=assignmentVO.getDOption();
        analyis=assignmentVO.getAnalyis();
    }

    public Integer getCourseId() {
        return courseId;
    }

    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }

    public Integer getId() {
        return Id;
    }

    public void setId(Integer id) {
        Id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    public String getAOption() {
        return AOption;
    }

    public void setAOption(String AOption) {
        this.AOption = AOption;
    }

    public String getBOption() {
        return BOption;
    }

    public void setBOption(String BOption) {
        this.BOption = BOption;
    }

    public String getCOption() {
        return COption;
    }

    public void setCOption(String COption) {
        this.COption = COption;
    }

    public String getDOption() {
        return DOption;
    }

    public void setDOption(String DOption) {
        this.DOption = DOption;
    }

    public String getAnalyis() {
        return analyis;
    }

    public void setAnalyis(String analyis) {
        this.analyis = analyis;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public Assignment(Integer courseId, Integer id, String title, Integer type, String answer, String AOption, String BOption, String COption, String DOption, String analyis, Integer score) {
        this.courseId = courseId;
        Id = id;
        this.title = title;
        this.type = type;
        this.answer = answer;
        this.AOption = AOption;
        this.BOption = BOption;
        this.COption = COption;
        this.DOption = DOption;
        this.analyis = analyis;
        this.score = score;
    }
}
